package cn.itsource.pet.service.impl;

import cn.itsource.basic.domain.BaseQuery;
import cn.itsource.basic.util.PageList;

import cn.itsource.pet.domain.PetType;
import cn.itsource.pet.mapper.PetTypeMapper;
import cn.itsource.pet.service.PetTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PetTypeServiceImpl implements PetTypeService {
    @Autowired
    PetTypeMapper petTypeMapper;

    @Override
    public void insert(PetType petType) {

    }

    @Override
    public void update(PetType petType) {

    }

    @Override
    public PageList<PetType> findPage(BaseQuery baseQuery, String key) {
        return null;
    }

    @Override
    public void delete(Long id) {

    }

    @Override
    public void deleteBatch(List<Long> ids) {

    }

    @Override
    public List<PetType> findAll() {
        return petTypeMapper.selectAll();
    }

    @Override
    public PetType findOne(Long id) {
        return null;
    }
}
